package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：用户地址表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Customeraddr implements Serializable {

   /**自增主键ID*/
    private Integer customerAddrId;
   /**customer_login表的自增ID*/
    private Integer customerId;
   /**邮编*/
    private Integer zip;
   /**地区表中省份的ID*/
    private Integer province;
   /**地区表中城市的ID*/
    private Integer city;
   /**地区表中的区ID*/
    private Integer district;
   /**是否默认*/
    private Integer isDefault;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Customeraddr(){}
    
    public Customeraddr(Integer customerAddrId,Integer customerId,Integer zip,Integer province,Integer city,Integer district,Integer isDefault,Date modifiedTime,String other1,String other2){
        this.customerAddrId = customerAddrId;
        this.customerId = customerId;
        this.zip = zip;
        this.province = province;
        this.city = city;
        this.district = district;
        this.isDefault = isDefault;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取自增主键ID属性的值*/
    public Integer getCustomerAddrId() {
        return this.customerAddrId;
    }
   /**设置自增主键ID属性的值*/
    public void setCustomerAddrId(Integer customerAddrId) {
        this.customerAddrId = customerAddrId;
    }
   /**获取customer_login表的自增ID属性的值*/
    public Integer getCustomerId() {
        return this.customerId;
    }
   /**设置customer_login表的自增ID属性的值*/
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
   /**获取邮编属性的值*/
    public Integer getZip() {
        return this.zip;
    }
   /**设置邮编属性的值*/
    public void setZip(Integer zip) {
        this.zip = zip;
    }
   /**获取地区表中省份的ID属性的值*/
    public Integer getProvince() {
        return this.province;
    }
   /**设置地区表中省份的ID属性的值*/
    public void setProvince(Integer province) {
        this.province = province;
    }
   /**获取地区表中城市的ID属性的值*/
    public Integer getCity() {
        return this.city;
    }
   /**设置地区表中城市的ID属性的值*/
    public void setCity(Integer city) {
        this.city = city;
    }
   /**获取地区表中的区ID属性的值*/
    public Integer getDistrict() {
        return this.district;
    }
   /**设置地区表中的区ID属性的值*/
    public void setDistrict(Integer district) {
        this.district = district;
    }
   /**获取是否默认属性的值*/
    public Integer getIsDefault() {
        return this.isDefault;
    }
   /**设置是否默认属性的值*/
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
